#{extends 'main.html' /} #{set title:'Home' /}
<!-- This is the page where the creator/contributors can view the private comments.
@author Rana A. Zakaria
-->
<body>
	<br>
	<h2>Private Comments:</h2>
	#{ifnot privateComments}
	<p>There are no private comments on this tutorial yet.</p>
	#{/ifnot} #{else} #{list items: privateComments, as:'prc'}
	<ul>
		<li>
			<h2>${prc.toString()}</h2>
		</li>
	</ul>


	<form action="@{Tutorials.deleteComment()}" method="POST">
		<div id="${prc.id}">
			<button name="commentID" type="submit" value="${prc.id}">delete</button>
		</div>


		#{/list} #{/else} <a href="@{Tutorials.tutorialPage(tutorialId)}">Back
			to Tutorial</a>
</body>
